package com.mtl.bookt.service;

import com.mtl.bookt.domain.BookInfo;
import com.mtl.common.tool.model.Page;
import java.util.List;
import java.util.Map;

/**
 *  服务类
 *
 * @author lsc
 * @since 2019-07-03
 */
public interface IBookInfoService {

        BookInfo findById(Integer id);

//        Page<BookInfo> findPage(Integer page,Integer size);
        Page<BookInfo> findPage(Map<String,Object> param);

        int saveOrUpdate(BookInfo bookInfo);

        int deleteBatch(List<Integer> ids);
}
